package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.R;
import com.itheima.dto.ClueQueryDto;
import com.itheima.pojo.TbAssignRecord;
import com.itheima.pojo.TbClue;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 线索(TbClue)表服务接口
 *
 * @author makejava
 * @since 2022-01-16 15:48:53
 */
public interface TbClueService extends IService<TbClue> {



    R page(ClueQueryDto clueQueryDto);

    R add(TbClue tbClue);

    R userListByDeptId(Long deptId);

    R updateTransfer(Long userId, List<Long> clueIds);

    R saveSubject(MultipartFile file, TbClueService subjectService);

    R updateStatus(Long id,String status);

    R updateClueById(TbClue tbClue);

}
